package com.gdou.crrp.repository;

import com.gdou.crrp.entity.ArticleComment;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ArticleCommentRepository extends JpaRepository<ArticleComment, Integer>,JpaSpecificationExecutor<ArticleComment> {
    List<ArticleComment> findAllByAid(Integer aid);
}
